﻿@model QDT.Core.Deals.DealLoanType
<div class="main_title">
    新增 <a href="@Url.Action("LoanTypeList", "DealLoanType")" class="back_list">返回列表</a></div>
<div class="blank5">
</div>
@using (Html.BeginForm("PostEditLoanType", "DealLoanType"))
{
    <table class="form">
        <tr>
            <td colspan="2" class="topTd"></td>
        </tr>
        <tr>
            <td class="item_title">类型名称:</td>
            <td class="item_input"><input type="text" class="textbox require" name="Name" value="@Model.Name"/><input type="hidden" name="ID" value="@Model.ID"/></td>
        </tr>
        <tr>
            <td class="item_title">贷款缩略图:</td>
            <td class="item_input">
                @Html.UploadImage("Icon",Model.Icon)
            </td>
        </tr>
        <tr>
            <td class="item_title">简单描述:</td>
            <td class="item_input"><textarea type="text" class="textarea" name="Brief">@Model.Brief</textarea></td>
        </tr>
        <tr>
            <td class="item_title">状态:</td>
            <td class="item_input">
                <label>有效<input type="radio" name="IsEffect" value="true" checked="checked" /></label>
                <label>无效<input type="radio" name="IsEffect" value="false" /></label>
            </td>
        </tr>
        <tr>
            <td class="item_title">排序:</td>
            <td class="item_input"><input type="text" class="textbox" name="Sort" value="@Model.Sort"/></td>
        </tr>
        <tr>
		    <td class="item_title"></td>
		    <td class="item_input">
			    <!--隐藏元素-->
			    <input type="submit" class="button" value="修改" />
			    <input type="reset" class="button" value="重置" />
		    </td>
	    </tr>
        <tr>
            <td colspan="2" class="bottomTd"></td>
        </tr>
    </table>
}
